

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSMUtilities : NSObject
/** 获取最上层UIViewController */
+ (UIViewController *)topViewController;
/** 获取当前活跃的UINavigationController */
+ (UINavigationController *)activeNavigationController;
@end

CF_EXTERN_C_BEGIN

BOOL CanOpenURL(id obj);
void OpenURL(id obj);
void Telprompt(id obj);
NSString *InternationalString(NSString *str);

CGFloat SinglePixel(void);
CGSize CGSizeMax(void);

CF_EXTERN_C_END

NS_ASSUME_NONNULL_END

#ifndef kSinglePixel
#define kSinglePixel    SinglePixel()
#endif

#ifndef kCGSizeMax
#define kCGSizeMax      CGSizeMax()
#endif


